package com.zzy;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
//@EnableEurekaClient
//@ComponentScan("com.zzy") // 注解默认就会装配标识了@Controller，@Service，@Repository，
//@EntityScan("com.zzy.model")
@EnableCaching
//@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
@EnableDiscoveryClient
public class TaskJar {
    public static void main( String[] args ) {
        SpringApplication.run(TaskJar.class, args);
    }
}
